package com.sure.yyr.security.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sure.yyr.common.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class UserDto extends PageParam {


    private String u_id;
    private String u_name;
    private Integer u_sex;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date u_birth;


    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date u_birth_start;

    @DateTimeFormat(pattern = "yyyy-MM-dd") //说明接收日期数据的格式
    private Date u_birth_end;

    private String u_status;

    private String u_pwd;

    private String u_avatar;

    public String getU_avatar() {
        return u_avatar;
    }

    public void setU_avatar(String u_avatar) {
        this.u_avatar = u_avatar;
    }

    public String getU_pwd() {
        return u_pwd;
    }

    public void setU_pwd(String u_pwd) {
        this.u_pwd = u_pwd;
    }

    public String getU_id() {
        return u_id;
    }

    public void setU_id(String u_id) {
        this.u_id = u_id;
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public Integer getU_sex() {
        return u_sex;
    }

    public void setU_sex(Integer u_sex) {
        this.u_sex = u_sex;
    }

    public Date getU_birth() {
        return u_birth;
    }

    public void setU_birth(Date u_birth) {
        this.u_birth = u_birth;
    }

    public Date getU_birth_start() {
        return u_birth_start;
    }

    public void setU_birth_start(Date u_birth_start) {
        this.u_birth_start = u_birth_start;
    }

    public Date getU_birth_end() {
        return u_birth_end;
    }

    public void setU_birth_end(Date u_birth_end) {
        this.u_birth_end = u_birth_end;
    }

    public String getU_status() {
        return u_status;
    }

    public void setU_status(String u_status) {
        this.u_status = u_status;
    }
}
